

#import <UIKit/UIKit.h>

@protocol WBScrollSelectDelegate <NSObject>

- (void)ScrollSelectDidCickWith:(int)num;

@end
@interface WBScrollSelectView : UIView
{
    UIScrollView *backScrView;
    UIImageView *lineImgView;
    UIButton *currentBtn;
}
@property (retain, nonatomic) NSMutableArray *titleArray;
@property (assign, nonatomic) id<WBScrollSelectDelegate>delegate;
@property (assign, nonatomic) int selectIndex; //选择的项
@property (assign, nonatomic) float LineWith; //底部提示图片的宽度 默认为等分 传0时 不显示底部提示线条

//初始化函数
- (id)initWithFrame:(CGRect)frame titles:(NSArray*)titles;

- (void)setSelect:(int)select;

@end
